const { orgID, appID, rootID, apk } = require("../generator");

module.exports = {
  up: (queryInterface, Sequelize) => {
    return queryInterface.bulkInsert(
      "t_app",
      [
        {
          id: appID,
          org_id: orgID,
          app_name: "画屏",
          apk,
          remark: "画屏是一款高清图App",
            create_user_id: rootID,
            modify_user_id: rootID,
          create_time: new Date(),
          modify_time: new Date()
        }
      ],
      {}
    );
  },

  down: (queryInterface, Sequelize) => {
    return queryInterface.bulkDelete("t_app", null, {});
  }
};
